<%@ page import="java.util.*" %>
<%@ page import="com.bafa.objects.*" %>
<%@ page import="com.bafa.middle.*" %>
   <% AdminUser admin = (AdminUser)session.getAttribute("LOGGEDON");
   TeamListBean teams = (TeamListBean)request.getAttribute("TEAMS");
   
%>

<% SeasonBean season = (SeasonBean)session.getAttribute("THISSEASON");   
   
%>

<%SiteBean siteBean = (SiteBean)session.getAttribute("SITEBEAN");%>

<script  src="script/niftycube.js" type="text/javascript" ></script>
	<script>
	NiftyLoad=function(){

Nifty("ul#fixture h3","top");
Nifty("ul#fixture div","bottom same-height");

}

</script>
<script type="text/javascript" src="calendarDateInput.js">

/***********************************************
* Jason's Date Input Calendar- By Jason Moon http://calendar.moonscript.com/dateinput.cfm
* Script featured on and available at http://www.dynamicdrive.com
* Keep this notice intact for use.
***********************************************/

</script>
<script language="javascript" src="chainedselects.js">

/***********************************************
* Chained Selects script- By Xin Yang (http://www.yxscripts.com/)
* Script featured on/available at http://www.dynamicdrive.com/
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>

<script>
<%@ include file="select.jsp" %>

</script>

<style type="text/css">

ul#fixture, ul#fixture li{margin:0;padding:0;list-style:none}
	ul#fixture li{float:left;width:230px;margin:0 10px 10px 0}
	ul#fixture h3{font: bold  Verdana,sans-serif;
	    text-transform:uppercase;margin:0px;padding: 5px 0 3px;text-align:center}
	ul#fixture p{margin:0;padding:5px 8px 15px}
	ul#fixture div{background:#<%=siteBean.getDivbackground()%>}
	li#fixture div{border:2px solid #<%=siteBean.getDivbackground()%>}


	
</style>


<ul id="fixture"><li id="fixture"><h3 class="avlh">New Fixture</h3>
<div >
<table width="252" border="0" class="bafatableadminhome">
<form name="fixtureForm" action="addfixture.bafa" method="post">
<input type="hidden" name="seasonId" value="<%=season.getID()%>"/>
<tr><td><select name="division" style="width:160px;"></select></td></tr>
<tr><td><select name="teamA" style="width:160px;"></select></td></tr>
<tr><td><select name="teamB" style="width:160px;"></select></td></tr>
<tr><td>
<script>DateInput('orderdate', true, 'DD-MON-YYYY')</script></td>

 </td></tr>
<tr><td> Time - <input type="text" name="hour" size=2>:<input type="text" name="minutes" size=2></td></tr>
<tr><td><input class='leftbutton' type='submit' name='submit' value='Add' /></td></tr>
<tr><td></td></tr>
</form>
</table>
</div>
    </li>
</ul>

<script>
initListGroup('divisions', document.forms["fixtureForm"].division, document.forms["fixtureForm"].teamA, document.forms["fixtureForm"].teamB, 'cs');
</script>